<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::method</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ssl__context.html" title="ssl::context">
<link rel="prev" href="load_verify_file/overload2.html" title="ssl::context::load_verify_file (2 of 2 overloads)">
<link rel="next" href="native_handle.html" title="ssl::context::native_handle">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="load_verify_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native_handle.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ssl__context.method"></a><a class="link" href="method.html" title="ssl::context::method">ssl::context::method</a>
</h4></div></div></div>
<p>
          <a class="indexterm" name="boost_asio.indexterm.ssl__context.method"></a> 
Different methods
          supported by a context.
        </p>
<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">method</span>
</pre>
<p>
          <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv2_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv3_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv1_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.sslv23_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv11_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv12_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tlsv13_server"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls_client"></a>
 <a class="indexterm" name="boost_asio.indexterm.ssl__context.method.tls_server"></a>
        </p>
<h6>
<a name="boost_asio.reference.ssl__context.method.h0"></a>
          <span class="phrase"><a name="boost_asio.reference.ssl__context.method.values"></a></span><a class="link" href="method.html#boost_asio.reference.ssl__context.method.values">Values</a>
        </h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">sslv2</span></dt>
<dd><p>
                Generic SSL version 2.
              </p></dd>
<dt><span class="term">sslv2_client</span></dt>
<dd><p>
                SSL version 2 client.
              </p></dd>
<dt><span class="term">sslv2_server</span></dt>
<dd><p>
                SSL version 2 server.
              </p></dd>
<dt><span class="term">sslv3</span></dt>
<dd><p>
                Generic SSL version 3.
              </p></dd>
<dt><span class="term">sslv3_client</span></dt>
<dd><p>
                SSL version 3 client.
              </p></dd>
<dt><span class="term">sslv3_server</span></dt>
<dd><p>
                SSL version 3 server.
              </p></dd>
<dt><span class="term">tlsv1</span></dt>
<dd><p>
                Generic TLS version 1.
              </p></dd>
<dt><span class="term">tlsv1_client</span></dt>
<dd><p>
                TLS version 1 client.
              </p></dd>
<dt><span class="term">tlsv1_server</span></dt>
<dd><p>
                TLS version 1 server.
              </p></dd>
<dt><span class="term">sslv23</span></dt>
<dd><p>
                Generic SSL/TLS.
              </p></dd>
<dt><span class="term">sslv23_client</span></dt>
<dd><p>
                SSL/TLS client.
              </p></dd>
<dt><span class="term">sslv23_server</span></dt>
<dd><p>
                SSL/TLS server.
              </p></dd>
<dt><span class="term">tlsv11</span></dt>
<dd><p>
                Generic TLS version 1.1.
              </p></dd>
<dt><span class="term">tlsv11_client</span></dt>
<dd><p>
                TLS version 1.1 client.
              </p></dd>
<dt><span class="term">tlsv11_server</span></dt>
<dd><p>
                TLS version 1.1 server.
              </p></dd>
<dt><span class="term">tlsv12</span></dt>
<dd><p>
                Generic TLS version 1.2.
              </p></dd>
<dt><span class="term">tlsv12_client</span></dt>
<dd><p>
                TLS version 1.2 client.
              </p></dd>
<dt><span class="term">tlsv12_server</span></dt>
<dd><p>
                TLS version 1.2 server.
              </p></dd>
<dt><span class="term">tlsv13</span></dt>
<dd><p>
                Generic TLS version 1.3.
              </p></dd>
<dt><span class="term">tlsv13_client</span></dt>
<dd><p>
                TLS version 1.3 client.
              </p></dd>
<dt><span class="term">tlsv13_server</span></dt>
<dd><p>
                TLS version 1.3 server.
              </p></dd>
<dt><span class="term">tls</span></dt>
<dd><p>
                Generic TLS.
              </p></dd>
<dt><span class="term">tls_client</span></dt>
<dd><p>
                TLS client.
              </p></dd>
<dt><span class="term">tls_server</span></dt>
<dd><p>
                TLS server.
              </p></dd>
</dl>
</div>
</div>
<div class="copyright-footer">Copyright © 2003-2025 Christopher M.
      Kohlhoff<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="load_verify_file/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native_handle.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
